package com.ruoyi.hotel.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;
import com.ruoyi.common.core.domain.BaseDomain;
import lombok.Data;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 楼层对象 hotel_floor
 *
 * @author sunye
 * @date 2024-11-15
 */
@Data
public class HotelFloor extends BaseDomain
{
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @TableId(value ="floor_id", type = IdType.AUTO)
    private Long floorId;

    @ApiModelProperty(value = "楼层")
    @Excel(name = "楼层")
    private String floorNum;

    @ApiModelProperty(value = "排序")
    @Excel(name = "排序")
    private Integer sort;

    @ApiModelProperty(value = "删除标志（0代表存在 2代表删除）")
    private String delFlag;

    @ApiModelProperty(value = "创建人ID")
    private Long createId;

    @ApiModelProperty(value = "更新人ID")
    private Long updateId;



    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("floorId", getFloorId())
            .append("floorNum", getFloorNum())
            .append("delFlag", getDelFlag())
            .append("createId", getCreateId())
            .append("updateId", getUpdateId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
